package com.mars.dbhandler.dao;

import com.mars.dbhandler.entity.Order;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface OrderMapper {

    @Insert("insert into learnspring.order (item, person) values (#{item}, #{person})")
    int addOrder(Order order);

}
